nixpkgs/pkgs/applications/science/biology/poretools/default.nix
Patrick Hilhorst 593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00

23 lines
722 B
Nix
Executable file

{ stdenv, pythonPackages, fetchFromGitHub }:
pythonPackages.buildPythonPackage rec {
pname = "poretools";
version = "unstable-2016-07-10";
src = fetchFromGitHub {
repo = pname;
owner = "arq5x";
rev = "e426b1f09e86ac259a00c261c79df91510777407";
sha256 = "0bglj833wxpp3cq430p1d3xp085ls221js2y90w7ir2x5ay8l7am";
};
propagatedBuildInputs = [pythonPackages.h5py pythonPackages.matplotlib pythonPackages.seaborn pythonPackages.pandas];
meta = {
description = "a toolkit for working with nanopore sequencing data from Oxford Nanopore";
license = stdenv.lib.licenses.mit;
homepage = https://poretools.readthedocs.io/en/latest/;
maintainers = [stdenv.lib.maintainers.rybern];
};
}