nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, unittest2 }:
2
3buildPythonPackage rec {
4 pname = "od";
5 version = "2.0.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-uGkj2Z8mLg51IV+FOqwZl1hT7zVyjmD1CcY/VbH4tKk=";
10 };
11
12 # repeated_test no longer exists in nixpkgs
13 # also see: https://github.com/epsy/od/issues/1
14 doCheck = false;
15 checkInputs = [
16 unittest2
17 ];
18
19 meta = with lib; {
20 description = "Shorthand syntax for building OrderedDicts";
21 homepage = "https://github.com/epsy/od";
22 license = licenses.mit;
23 };
24
25}