xopen: Initial packaging
This commit is contained in:
@@ -5,4 +5,6 @@ pkgs: self: super: with self; {
|
||||
openslide = callPackage ./openslide/python.nix { openslide = pkgs.openslide; };
|
||||
|
||||
pybedtools = callPackage ./pybedtools.nix { };
|
||||
|
||||
xopen = callPackage ./xopen.nix { };
|
||||
}
|
||||
|
||||
23
pkgs/xopen.nix
Normal file
23
pkgs/xopen.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, setuptools_scm
|
||||
, bz2file, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.1";
|
||||
pname = "xopen";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1i68nf73abzd19x4ccrk2nxfblqfzz0zzm6vh0l3qzin0np1d89r";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ bz2file ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "hhttps://github.com/marcelm/xopen";
|
||||
description = "Python module provides an xopen function that works like the built-in open function, but can also deal with compressed files (gzip, bzip2, and xz).";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user