nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 940 B view raw
1{ 2 python3, 3 lib, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "xenomapper"; 9 version = "1.0.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "genomematt"; 14 repo = "xenomapper"; 15 rev = "v${version}"; 16 sha256 = "0mnmfzlq5mhih6z8dq5bkx95vb8whjycz9mdlqwbmlqjb3gb3zhr"; 17 }; 18 19 build-system = with python3.pkgs; [ setuptools ]; 20 21 dependencies = with python3.pkgs; [ statistics ]; 22 23 pythonImportsCheck = [ 24 "xenomapper.xenomapper" 25 "xenomapper.mappability" 26 ]; 27 28 meta = { 29 homepage = "https://github.com/genomematt/xenomapper"; 30 description = "Utility for post processing mapped reads that have been aligned to a primary genome and a secondary genome and binning reads into species specific, multimapping in each species, unmapped and unassigned bins"; 31 license = lib.licenses.gpl3; 32 platforms = lib.platforms.all; 33 maintainers = [ lib.maintainers.jbedo ]; 34 }; 35}